package com.demo.juc.async;

import java.io.Serializable;

/**
 * 定义任务结果数据的封装类
 */

public class TaskResult implements Serializable {

    private static final long serialVersionUID = 8678277072402730062L;

    private String status;
    private String massage;
    private String result;


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "TaskResult{" +
                "status='" + status + '\'' +
                ", massage='" + massage + '\'' +
                ", result='" + result + '\'' +
                '}';
    }
}
